<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="header.jsp"></jsp:include>
<div class="container">
	<div class="row">
		<div class="offset2 span8 offset2">
			<form class="form-horizontal" action="BuyTicketServlet" method="post">
				<fieldset>
					<legend>订单详情</legend>
					<table class="table table-striped table-bordered table-condensed">
						<thead>
							<tr>
								<th>会员名</th>
								<th>电影名</th>
								<th>放映厅号</th>
								<th>放映厅类型</th>
								<th>开始时间</th>
								<th>开始日期</th>
								<th>时长(分钟)</th>
								<th>票价(元)</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>${ user.name }</td>
								<td>${ timetable.movie.mName }</td>
								<td>${ timetable.hall.id }</td>
								<td>${ timetable.hall.type }</td>
								<td>${ timetable.startTime }</td>
								<td>${ timetable.createDate }</td>
								<td>${ timetable.movie.mLength }</td>
								<td>${ timetable.movie.mPrice }</td>
							</tr>
						</tbody>
					</table>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">确定购买</button>
						<a href="javascript:history.back(); " class="btn"> 返回 </a>
					</div>
				</fieldset>
			</form>
		</div>
	</div>
</div>
<jsp:include page="footer.jsp"></jsp:include>